{template header} 
<script type="text/javascript" >
<!--
var checkuidurl='{eval echo U("User/checkuid")}';
var checkunameurl='{eval echo U("User/checkuname")}';
var userid='{eval echo $_SESSION["user_id"]}';
//-->
</script>
<script type="text/javascript" src="{APPPUBLIC}js/utils.js"></script>
<script type="text/javascript" src="{APPPUBLIC}js/check.js"></script>
 <table width="100%" border="0" cellpadding="0" cellspacing="0"><form action="{eval echo U('User/usersave')}" method=post onSubmit="submit_act(); return useredit()">

  <tr>
    <td bgcolor="#e6e6e6"><table width="920" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
		<td width="200" valign="top">{template usermenu} </td>
        <td width="720" bgcolor="#FFFFFF"><table width="700" border="0" align="center" cellpadding="0" cellspacing="10" bgcolor="#666666">
          <tr>
            <td height="500" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="720" height="1" colspan="3" bgcolor="#E6E6E6"></td>
                </tr>
              <tr>
                <td height="30" colspan="3" bgcolor="#f9f9f9"><table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="25"><img src="{APPPUBLIC}Images/Public/Point.gif" width="14" height="10" /></td>
                    <td class="Categories_Menu"><a href="#" class="Categories_Menu_a">首页</a> <font face="宋体">&gt;</font> 会员中心 <font face="宋体">></font> <strong>资料修改</strong></td>
                    </tr>
                  </table></td>
                </tr>
              <tr>
                <td height="1" colspan="3" bgcolor="#E6E6E6"></td>
                </tr>
              </table>
              <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="20" colspan="2" class="Title">&nbsp;</td>
                  </tr>
                <tr>
                  <td width="30%" height="30" align="right">用户名：</td>
                  <td width="20%"><input name="user_name" type="text" class="input_1" value="{$user['user_name']}" id="user_name_id"/></td>
				  <td ><div class="attention"></div><div id="user_notice">用户名可以改为你认为好记的任意字符。</div></td>
                </tr> 
                <tr>
                  <td colspan="2" class="line_Bg_1" height="1"></td>
                  </tr>
                <tr>
                  <td width="30%" height="30" align="right">邮箱：</td>
                  <td width="20%"><input name="email" type="text" class="input_1" value="{$user['email']}" id="email_id" /></td>
				   <td ><div class="attention"></div><div id="username_notice">可以修改您的邮件地址。</div></td>
                  </tr>
                <tr>
                  <td colspan="2" class="line_Bg_1" height="1"></td>
                  </tr>
				  <tr>
                  <td height="30" align="right">性别：</td>
                  <td><select name="sex">
				  <option value="1" {eval if($user['sex']==1) echo 'selected';}>女士</option>
					<option value="2" {eval if($user['sex']==2) echo 'selected';}>先生</option>
				  </select></td>
                  </tr>
				  <tr>
                  <td height="30" align="right">年龄：</td>
                  <td><input name="age" type="text" class="input_1" value="{$user['age']}" /></td>
                  </tr>

				 <tr>
                  <td height="30" align="right">职业：</td>
                  <td><input name="occupation" type="text" class="input_1" value="{$user['occupation']}" /></td>
                  </tr>
				  <tr>
                  <td height="30" align="right">QQ：</td>
                  <td><input name="qq" type="text" class="input_1" value="{$user['qq']}" /></td>
                  </tr>
				  <tr>
                  <td height="30" align="right">MSN：</td>
                  <td><input name="msn" type="text" class="input_1" value="{$user['msn']}" /></td>
                  </tr>
                <tr>
                  <td height="30" align="right">家庭电话：</td>
                  <td><input name="home_phone" type="text" class="input_1" value="{$user['home_phone']}" /></td>
                  </tr>
				<tr>
                  <td height="30" align="right">办公电话：</td>
                  <td><input name="office_phone" type="text" class="input_1" value="{$user['office_phone']}" /></td>
                  </tr>
                <tr>
                  <td colspan="2" class="line_Bg_1" height="1"></td>
                  </tr>
                <tr>
                  <td height="30" align="right">移动电话：</td>
                  <td><input name="mobile_phone" type="text" class="input_1" value="{$user['mobile_phone']}" /></td>
                  </tr>
                <tr>
                  <td colspan="2" class="line_Bg_1" height="1"></td>
                  </tr>
                <tr>
                  <td height="100" align="right">&nbsp;</td>
                  <td><span class="Order_Title">
                    <input name="button" type="submit" class="input_2" id="button" value="确定没问题" />
                    </span></td>
                  </tr>
                </table></td>
            </tr>
        </table></td>
        </tr>
    </table></td>
  </tr></form>
</table>
<script type="text/javascript" >
<!--
var email=$('#email_id');
var user_name=$('#user_name_id');
email.blur(function(){private_email(this.value,userid);});
user_name.blur(function(){private_username(this.value,userid);});
//-->
</script>
{template footer}